// pages/culture/culture.js
const app = getApp();
Page({
  data: {

    StatusBar: app.globalData.StatusBar,
    CustomBar: app.globalData.CustomBar,

  },
  isCard(e) {
    this.setData({
      isCard: e.detail.value
    })
  },

 


  onLoad:function() {

    wx.downloadFile({
      url: 'https://docs.qq.com/doc/DVWpQZVhPd0hmTnRl',
      success: (res) => {
        const filePath = res.tempFilePath
        wx.openDocument({
          filePath: filePath,
          success: function (res) {}
        })
      },
      fail: () => {}
    })
  },
      goToculture1: function(){
        wx.navigateTo({
          url:'../culture1/culture1'
        })
      },
      goToculture2: function(){
        wx.navigateTo({
          url:'../culture2/culture2'
        })
      },
      goToculture3: function(){
        wx.navigateTo({
          url:'../culture3/culture3'
        })
      }


});

